<me:UIAM06 x:Class="WPFExcelReport.TAM06"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"  
                     xmlns:DR="clr-namespace:WPFExcelReport;assembly=TDRAUFTR"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIAM06.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter  x:Key="nbv"/>
        <ucd:NOTConverter x:Key="not"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIAM06.Resources>
    <StackPanel> 
        <WrapPanel>  
            <TextBlock  Text="{Binding Source={Localization:Translate Word=模块}}"/>
            <TextBlock  Text="{Binding AMEMODNR}" Width="24" />
            <TextBlock  Text="{Binding Source={Localization:Translate Word=序号}}"/>
            <TextBlock  Text="{Binding AMEEINSTNR}" Width="24" />
            <TextBlock  Text="{Binding Source={Localization:Translate Word=说明}}"/>
            <ex:TXT72 MaxLength="40"  
                      IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                      Text="{Binding AMEBEZ,Converter={StaticResource gb2312}}" Width="120" />
            <TextBlock  Text="{Binding Source={Localization:Translate Word=简述}}"/>
            <ex:TXT72 MaxLength="10"  
                      IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                      Text="{Binding AMEKBEZ,Converter={StaticResource gb2312}}" Width="120" />
        </WrapPanel>
        <WrapPanel>
            <TextBlock  Text="{Binding Source={Localization:Translate Word=BDE}}"/>
            <me:TSZL06 
                IsEdit="{Binding IsEdit,ElementName=TV}" 
                BDEKEN="{Binding BDEKEN,ElementName=TV}" 
                       />
            <ex:TXT72 MaxLength="8"  
                      IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                      Text="{Binding AMEBDEKEN,Converter={StaticResource gb2312}}" Width="120" />
            <TextBlock  Text="{Binding Source={Localization:Translate Word=刷新频率(秒)}}"/>
            <ex:TXT72 MaxLength="16"  
                      IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                     Text="{Binding AMEINTERVAL,Converter={StaticResource d1000}}" Width="40" />

        </WrapPanel>
        <Expander Header="{Binding Source={Localization:Translate Word=设定}}" >
            <WrapPanel>
                <TextBlock  Text="{Binding Source={Localization:Translate Word=方法}}"/>
                <SD:K0706 
                    IsEdit="{Binding IsEdit,ElementName=TV}"
                    KEY="{Binding MESCHL,ElementName=TV}"
                          />
                <ex:TXT72 MaxLength="2"  
                      IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                      Text="{Binding AMEMESCHL}" Width="80" />
                <TextBlock  Text="{Binding Source={Localization:Translate Word=最小值}}"/>
                <ex:TXT72 MaxLength="16"  
                      IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                      Text="{Binding AMEWERTVON}" Width="80" />
                <TextBlock  Text="{Binding Source={Localization:Translate Word=最大值}}"/>
                <ex:TXT72 MaxLength="16"  
                      IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                      Text="{Binding AMEWERTBIS}" Width="40" />
                <TextBlock  Text="{Binding Source={Localization:Translate Word=精确值1}}"/>
                <ex:TXT72 MaxLength="16"  
                      IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                      Text="{Binding AMEWERTEX1}" Width="120" />
                <TextBlock  Text="{Binding Source={Localization:Translate Word=精确值2}}"/>
                <ex:TXT72 MaxLength="16"  
                      IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                      Text="{Binding AMEWERTEX2}" Width="120" />
                <TextBlock  Text="{Binding Source={Localization:Translate Word=精确值3}}"/>
                <ex:TXT72 MaxLength="16"  
                      IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                      Text="{Binding AMEWERTEX3}" Width="120" />
                <TextBlock  Text="{Binding Source={Localization:Translate Word=精确值4}}"/>
                <ex:TXT72 MaxLength="16"  
                      IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                      Text="{Binding AMEWERTEX4}" Width="120" />
            </WrapPanel>
        </Expander>
     
        <WrapPanel>
            <SD:K8880  IsEdit="{Binding IsEdit,ElementName=TV}"
                       Visibility="Collapsed"
                       KEY="{Binding KEY,ElementName=TV}"
                       ORDERNUM="{Binding KEY,ElementName=TV}"
                />
        </WrapPanel>
    </StackPanel>
</me:UIAM06>
